package com.blood.modules.pregnancy.dto.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author daoren
 * @date 2022-11-25 09:00:10
 * @description 孕妇信息采集保存入参
 */
@Data
@ApiModel(value = "孕妇信息采集保存入参", description = "孕妇信息采集保存或修改入参")
public class PregnancyGatherInfoSaveReq {
    @ApiModelProperty("采集id")
    private String id;
    @ApiModelProperty("孕妇id")
    private String pregnancyId;
    @ApiModelProperty(value = "宫口扩张", required = true)
    @NotNull(message = "宫口扩张不能为空！")
    private Double dilatancy;
    @ApiModelProperty(value = "抬头下降", required = true)
    @NotNull(message = "抬头下降不能为空！")
    private Double decline;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @NotNull(message = "采集时间不能为空！")
    @ApiModelProperty("采集时间")
    private Date gatherTime;
    @ApiModelProperty("胎心")
    private Integer fetalHeart;
    @ApiModelProperty("胎位")
    private String direction;
    @ApiModelProperty("胎膜（1破，2未破）")
    private Integer caul;
    @ApiModelProperty("破膜方式（1自然，2人工）")
    private Integer caulWay;
    @ApiModelProperty("羊水颜色")
    private String waterColour;
    @ApiModelProperty("宫缩强度")
    private String strength;
    @ApiModelProperty("宫缩持续(秒)")
    private Integer sustain;
    @ApiModelProperty("宫缩间隔（分）")
    private String septal;
    @ApiModelProperty("膀胱充盈（是/否）")
    private String bladder;
    @ApiModelProperty("人工导尿（是/否）")
    private String catheter;
    @ApiModelProperty("留置针")
    private String remainingNeedle;
    @ApiModelProperty("SP02%")
    private String spo;
    @ApiModelProperty("体温")
    private String heat;
    @ApiModelProperty("心率(次/分)")
    private Integer heartRate;
    @ApiModelProperty("血压(收缩压)")
    private Integer systolicPressure;
    @ApiModelProperty("血压(舒张压)")
    private Integer diastolicPressure;
    @ApiModelProperty("异常情况(1无，2宫缩过强，3其他)")
    private Integer abnormal;
    @ApiModelProperty("异常情况备注")
    private String abnormalRemake;
    @ApiModelProperty("主治医生")
    private String doctorId;
    @ApiModelProperty("助产士id")
    private String midwifeId;
    @ApiModelProperty("医生签名")
    @NotNull(message = "医生签名不能为空！")
    private String medicalSign;
}
